﻿
namespace eLearning.Model
{
    public class Angkatan
    {
        public string Id { get; set; }
        public string Tahun { get; set; }
        public override string ToString()
        {
            return Tahun;
        }

        public override bool Equals(object obj)
        {
            return Id == (obj as Angkatan).Id;
        }

        public override int GetHashCode()
        {
            return base.GetHashCode();
        }
    }
}
